{% extends "base.html"%}

{% block title %} {{ tag.tag_name }}- LBlog{% endblock %}
            
{% block content_body %}
<div class="main_body">
  {% for blog in tag.article_set.all %}
      
    <article class="blog_body">
		<header class="entry-header">
			<h1 class="entry-title">
				<a href="/detail/?id={{ blog.id }}">{{ blog.caption }}</a>
			</h1>
				<div class="entry-meta">
					<span class="li_small_1">分类：<a href="{{ blog.classification.get_absolute_url }}">{{ blog.classification }}</a></span>
					<span class="li_small_1">发表时间：{{ blog.publish_time|date:"Y-m-d H:i" }}</span>	
				</div>
		</header>
		<div class="blog_splitline">
            <div class="blog_description">{{ blog.intro }}</div>
            <div class="blog_info2">
                <span class="blog_info2_list">
                    <span class="li_small_2">标签：{% for tag in blog.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.tag_name }}</a>{% endfor %}</span>
                </span>
            </div>
		    <div class="read-more cl-effect-14">
			    <a href="/detail/?id={{ blog.id }}" class="more-link">Continue reading <span class="meta-nav">→</span></a>
			</div>
		</div>
	</article>

  {% endfor %}
</div>
{% endblock %}
